Defining and Implementing Commutativity Conditions for Parallel Execution

نویسندگان

  • Milind Kulkarni
  • Dimitrios Prountzos
  • Donald Nguyen
  • Keshav Pingali
چکیده

data type: an algebraic methodology for their specification. In MFDBS 89: Proceedings of the second symposium on Mathematical fundamentals of database systems, pages 53–67, New York, NY,USA, 1989. Springer-Verlag New York, Inc. [3] Brian D. Carlstrom, Austen McDonald, Hassan Chafi, JaeWoongChung, Chi Cao Minh, Christos Kozyrakis, and Kunle Olukotun. The atomos transactional programming language. SIGPLAN Not.,41(6):1–13, 2006. [4] Brian D. Carlstrom, Austen McDonald, Christos Kozyrakis, andKunle Olukotun. Transactional collection classes. In Principles and Practices of Parallel Programming (PPoPP), 2007. [5] Thomas Cormen, Charles Leiserson, Ronald Rivest, and CliffordStein, editors. Introduction to Algorithms. MIT Press, 2001. [6] K. P. Eswaran, J. N. Gray, R. A. Lorie, and I. L. Traiger. The notionsof consistency and predicate locks in a database system. Commun. ACM, 19(11):624–633, 1976. [7] Jim Gray and Andreas Reuter. Transaction Processing: Concepts and Techniques. Morgan Kaufmann Publishers Inc., San Francisco, CA,USA, 1992. [8] Lance Hammond, Vicky Wong, Mike Chen, Brian D. Carlstrom,John D. Davis, Ben Hertzberg, Manohar K. Prabhu, Honggo Wijaya,Christos Kozyrakis, and Kunle Olukotun. Transactional memorycoherence and consistency. ISCA, 00:102, 2004. [9] Maurice Herlihy and Eric Koskinen. Transactional boosting:a methodology for highly-concurrent transactional objects. In PPoPP ’08: Proceedings of the 13th ACM SIGPLAN Symposium on Principles and practice of parallel programming, 2008. [10] Maurice Herlihy, Victor Luchangco, Mark Moir, and William N. Scherer, III. Software transactional memory for dynamic-sized datastructures. In PODC ’03: Proceedings of the twenty-second annualsymposium on Principles of distributed computing, 2003. [11] Maurice P. Herlihy and Jeannette M. Wing. Linearizability: acorrectness condition for concurrent objects. ACM Transactionson Programming Languages and Systems (TOPLAS), 12(3):463–492,1990. [12] Venkata Krishnan and Josep Torrellas. A chip-multiprocessorarchitecture with speculative multithreading. IEEE Trans. Comput.,48(9):866–880, 1999. [13] Milind Kulkarni, Martin Burtscher, Rajeshkar Inkulu, Keshav Pingali,and Calin Casçaval. How much parallelism is there in irregular applications? In PPoPP ’09: Proceedings of the 14th ACM SIGPLANsymposium on Principles and practice of parallel programming,2009. [14] Milind Kulkarni, Keshav Pingali, Ganesh Ramanarayanan, BruceWalter, Kavita Bala, and L. Paul Chew. Optimistic parallelismbenefits from data partitioning. SIGARCH Comput. Archit. News(Proceedings of ASPLOS 2008), 36(1):233–243, 2008. [15] Milind Kulkarni, Keshav Pingali, Bruce Walter, Ganesh Rama-narayanan, Kavita Bala, and L. Paul Chew. Optimistic parallelismrequires abstractions. SIGPLAN Not. (Proceedings of PLDI 2007),42(6):211–222, 2007. [16] Kevin E. Moore, Jayaram Bobba, Michelle J. Moravan, Mark D.Hill, and David A. Wood. Logtm: Log-based transactional memory.In HPCA ’06: Proceedings of the 12th International Symposium onHigh Performance Computer Architecture, 2006. [17] Yang Ni, Vijay Menon, Ali-Reza Adl-Tabatabai, Antony L. Hosking,Rick Hudson, J. Eliot B. Moss, Bratin Saha, and Tatiana Shpeisman.Open nesting in software transactional memory. In Principles andPractices of Parallel Programming (PPoPP), 2007. [18] Christos H. Papadimitriou. The serializability of concurrent databaseupdates. J. ACM, 26(4):631–653, 1979. [19] Lawrence Rauchwerger and David A. Padua. The LRPD test:Speculative run-time parallelization of loops with privatization and reduction parallelization. IEEE Trans. Parallel Distrib. Syst.,10(2):160–180, 1999. [20] Bratin Saha, Ali-Reza Adl-Tabatabai, Richard L. Hudson, Chi CaoMinh, and Benjamin Hertzberg. McRT-STM: a high performance software transactional memory system for a multi-core runtime. In PPoPP ’06: Proceedings of the eleventh ACM SIGPLAN symposium on Principles and practice of parallel programming, pages 187–197, New York, NY, USA, 2006. ACM Press. [21] Hanan Samet. Foundations of Multidimensional and Metric Data Structures (The Morgan Kaufmann Series in Computer Graphics and Geometric Modeling). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2005. [22] Peter M. Schwarz and Alfred Z. Spector. Synchronizing sharedabstract types. ACM Trans. Comput. Syst., 2(3):223–250, 1984. [23] Bruce Walter, Kavita Bala, Milind Kulkarni, and Keshav Pingali. Fastagglomerative clustering for rendering. In Interactive Ray Tracing, 2008. RT 2008. IEEE Symposium on, pages 81–86, Aug. 2008. [24] W.E. Weihl. Commutativity-based concurrency control for abstractdata types. IEEE Transactions on Computers, 37(12), 1988.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Commutativity Analysis: A Technique for Automatically Parallelizing Pointer-Based Computations

This paper introduces an analysis technique, commutativity analysis, for automatically parallelizing computations that manipulate dynamic, pointer-based data structures. Commutativity analysis views computations as composed of operations on objects. It then analyzes the program to discover when operations commute, i.e. leave the objects in the same state regardless of the order in which they ex...

متن کامل

Defining Conditional Independence Using Collapses

Trace semantics is extended to allow conditional commutativity among operations. Conditional commutativity is obtained by identifying the context (the set of global states) in which operations are commutative using special predicates. These will allow collapsing execution histories into equivalence classes of conditional traces. Using this approach, it is possible that the execution of two oper...

متن کامل

Stochastic Model of Evolutionary and Immunological Multi-Agent Systems: Parallel Execution of Local Actions

The refined model for the biologically inspired agent-based computation systems EMAS and iEMAS conforming to the BDI standard is presented. Moreover, their evolution is expressed in the form of the stationary Markov chains. This paper generalizes the results obtained by Byrski and Schaefer [7] to a strongly desired case in which some agent’s actions can be executed in parallel. In order to find...

متن کامل

Commutativity Analysis: A New Technique for Automatically Parallelizing Serial Programs

This paper introduces a new analysis technique, commutativity analysis, for automatically parallelizing programs written in sequential, imperative programming languages. Commutativity analysis aggregates both data and computation into larger grain units. It then analyzes the computation at this granularity to discover when pieces of the computation commute (i.e. generate the same result regardl...

متن کامل

Accelerating high-order WENO schemes using two heterogeneous GPUs

A double-GPU code is developed to accelerate WENO schemes. The test problem is a compressible viscous flow. The convective terms are discretized using third- to ninth-order WENO schemes and the viscous terms are discretized by the standard fourth-order central scheme. The code written in CUDA programming language is developed by modifying a single-GPU code. The OpenMP library is used for parall...

متن کامل

Automatic Generation of Precise and Useful Commutativity Conditions (Extended Version)

Reasoning about commutativity between data-structure operations is an important problem with applications including parallelizing compilers, optimistic parallelization and, more recently, Ethereum smart contracts. There have been research results on automatic generation of commutativity conditions, yet we are unaware of any fully automated technique to generate conditions that are both sound an...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009